
---@class CustomPatrolIdleGoal:GoalBase
CustomPatrolIdleGoal = class(GoalBase)

function CustomPatrolIdleGoal:GetLabel()
    return ECustomGoalLabel.PatrolIdle;
end

function CustomPatrolIdleGoal:GetPriority()
    return 1;
end

function CustomPatrolIdleGoal:InitActiveCondition()
    local state = State.new()
    state:Set(ECustomStateKey.CanPatrol,false)
    return state;
end

function CustomPatrolIdleGoal:InitEffects()
    local state = State.new()
    state:Set(ECustomStateKey.CanPatrol,true);
    return state;
end